package figure8.events;

import java.util.EventObject;

import figure8.Track;

public class TrackChangedEvent extends EventObject {
	private Track track;
	private boolean local;
	
	public TrackChangedEvent(Object source, Track track, boolean local) {
		super(source);
		
		this.track = track;
		this.local = local;
	}
	
	public Track getTrack() {
		return this.track;
	}
	
	public boolean isLocal() {
		return this.local;
	}
}
